package com.csdj.course.service.impl;


import com.csdj.course.mapper.UserMapper;
import com.csdj.course.pojo.User;
import com.csdj.course.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {
	@Autowired
	private UserMapper userMapper;

	/**
	 * 查询用户全部结果
	 *
	 * @return
	 */
	@Override
	public List<User> selectAll() {
		return userMapper.selectAll();
	}

}
